package net.ibizsys.eclipse.studio.view;

import net.ibizsys.eclipse.studio.xml.IBizFile;

import org.eclipse.jface.fieldassist.ContentProposal;

/**
 * 搜索匹配项
 * 
 * @author <a href='http://www.weibo.com/xjtoo' target='_blank'>Enmaai</a>
 */
public class IBizSearchProposal extends ContentProposal
{
	private IBizFile file;
	private boolean bPub;

	public IBizSearchProposal(String content, IBizFile file, boolean pub)
	{
		super(content);
		this.file = file;
		this.bPub = pub;
	}

	public IBizFile getFile()
	{
		return file;
	}

	public boolean isPub()
	{
		return bPub;
	}

}